package com.youth;

import com.codingapi.txlcn.tc.config.EnableDistributedTransaction;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @ClassName OrderService8102Application
 * @Description: TODO
 * @Author yjwu
 * @Date 2019/10/30 23:22
 **/
@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients(basePackages = "com.youth")
@EnableHystrix
@EnableHystrixDashboard
@EnableCaching
@EnableDistributedTransaction
public class OrderService8102Application {
    public static void main(String[] args) {
        SpringApplication.run(OrderService8102Application.class, args);
    }
}
